
<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="description" content="">
    <meta name="author" content="">

    <title>留言板</title>

    <!-- Bootstrap core CSS -->
    <link href="./Tpl/css/bootstrap.min.css" rel="stylesheet">


    <!-- Just for debugging purposes. Don't actually copy these 2 lines! -->
    <!--[if lt IE 9]><script src="../../assets/js/ie8-responsive-file-warning.js"></script><![endif]-->


    <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
    <!--[if lt IE 9]>
      <script src="http://cdn.bootcss.com/html5shiv/3.7.0/html5shiv.js"></script>
      <script src="http://cdn.bootcss.com/respond.js/1.4.2/respond.min.js"></script>
    <![endif]-->
  </head>

  <body>

    <nav class="navbar navbar-inverse navbar-fixed-top" role="navigation">
      <div class="container">
        <div class="navbar-header">
          <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
            <span class="sr-only">Toggle navigation</span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
          </button>
          <a class="navbar-brand" href="#">留言板</a>
        </div>
        <div id="navbar" class="navbar-collapse collapse">
          <form class="navbar-form navbar-right" role="form">
            <div class="form-group">
              <input type="text" placeholder="Email" class="form-control">
            </div>
            <div class="form-group">
              <input type="password" placeholder="Password" class="form-control">
            </div>
            <button type="submit" class="btn btn-success">Sign in</button>
          </form>
        </div>
      </div>
    </nav>

    <!-- Main jumbotron for a primary marketing message or call to action -->
    <div class="jumbotron">
    </div>

    <div class="container">
      <!-- Example row of columns -->
      <div class="row">
			<style type="text/css">
				.col-md-12{
					padding:0px;
					margin-bottom: 10px;
				}
			</style>

      <?php echo Page($count,$curren,2); ?>

			<form action="./upload.php" method="post" class="form-inline col-md-12" role="form" enctype="multipart/form-data">
			  <div class="col-md-12">
				  	<div class="form-group">
				    <label class="sr-only" for="exampleInputEmail2">用户名</label>
				    <input type="file" class="form-control" id="exampleInputEmail2" placeholder="用户名" name="yudsdfsdfsfsdfsn[]" multiple="multiple">
				  </div>
				  <button type="submit" class="btn btn-success">上传</button>
			  </div>
			 
			</form>
      <div class="list-group">
            <table class="table table-striped">
              <tr>
                <td>下标</td>
                <td>文件名</td>
                <td>修改时间</td>
                <td>文件大小</td>
                <td>操作</td>
              </tr>
              <?php foreach ($fileArr as $k => $v) { ?>
                  <tr>
                    <td><?php echo $k ?></td>
                    <td><?php echo basename($v) ?></td>
                    <td><?php echo date('Y-m-d H:i:m',filemtime($v)) ?></td>
                    <td><?php echo F(filesize($v)) ?></td>
                    <td><a href="del.php?url=<?php echo $v ?>" class="btn btn-danger">删除</a>
                    <a href="down.php?url=<?php echo $v ?>" class="btn btn-primary">下载</a></td>
                  </tr>

              <?php } ?>
            </table>
           </div>
        
      </div>

      <hr>

      <footer>
        <p>&copy; Company 2014</p>
      </footer>
    </div> <!-- /container -->


    <!-- Bootstrap core JavaScript
    ================================================== -->
    <!-- Placed at the end of the document so the pages load faster -->
    <script src="http://cdn.bootcss.com/jquery/1.11.1/jquery.min.js"></script>
    <script src="./Tpl/js/bootstrap.min.js"></script>
    <!-- IE10 viewport hack for Surface/desktop Windows 8 bug -->
  </body>
</html>
